debt
A single debt record entered as part of user's fact find
GraphQL Schema
extend type query {
"""A single debt record entered as part of user's fact find"""
debt(userId: ID!, debtId: UUID!): Debt
}
Arguments
Name | Type | Description |
---|---|---|
userId | ID! | Unique ID of the user |
debtId | UUID! |
Response Shape
This query returns Debt
Name | Type | Description |
---|---|---|
id | UUID! | Unique ID of the object |
productType | DebtType! | |
userId | ID! | Unique ID of the user |
owners | [Person] | |
name | String | |
provider | Provider | |
balance | Money | |
repaidMonthly | Boolean | |
monthlyRepayment | Money | |
clearedOnDeath | Boolean | |
arePaymentsUpToDate | Boolean | |
arrears | Money | |
isComplete | Boolean! | |
maturityDate | Date | Car Loan / Hire Purchase Agreement / Personal Loan / Other |
endDate | Date | Loan |
mortgageType | MortgageType | Mortgage |
mortgageYearsLeft | Int | Mortgage |
isMainMortgage | Boolean | Mortgage |
hasPaymentProtectionInsurance | Boolean | Mortgage |
interestRate | MoneyInput | |
owner | OwnerType | |
value | MoneyInput | |
paidOffMonthly | Boolean |